﻿package com.toncen.samepms.net.dao;

import com.toncen.samepms.net.domain.ChanelInformation;
import com.toncen.samepms.common.AbstractDao;

/**
 * 描述：栏目信息关系表NET_CHANEL_INFORMATION的dao文件
 * @time 2013-5-10
 * @author xyp 
 */
public class ChanelInformationDao  extends AbstractDao<ChanelInformation> {

	public ChanelInformationDao() {
	}

	
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.comit.common.db.BaseDao#initialize()
	 */
	@Override
	protected void initialize() {
		setStatementPrefix("ChanelInformation");
		setStatementDivision(".");
	}
	
	/**
	 * 根据id删除信息
	 * @return
	 * @throws Exception
	 */
	public void deleteByInformationId(long informationId) throws Exception {
		getSqlMap().delete(getStatement("deleteByInformationId"), informationId);
	}
}
